Networking SSL-VPN and IPsec VPN

Difference between SSL-VPN and IPsec VPN and which is better or security purpose