A cardioid pattern picks up sounds directly in front of the mic while an omnidirectional one picks up sounds equally from every direction. That is unless you’re close to it then it’ll act just like a cardioid pattern since proximity will cause sensitivity to increase. It isn’t as sensitive so direct noise won’t affect it as much when recording at home or in professional studios if you have acoustic padding all around your room.