Default 2g or wifi

I wonder what is the connection that uses more battery, 2g or wifi.
I only use the internet to update the app lockmix, then the 2g enough for me, but I was wondering which spends more battery if it is 2g or wifi