SSL vs IPSec

My question is whats the difference b/w SSL and IPSec and also can anyone use both of them at the same time rather simultaneously. Its just like comparing an apple with an ornage is it