Why do women get lower wages than men?

Why do women get lower wages than men? In most countries women get lower wages than men. In spite of some laws make for paying same wage for the same work by the man and woman.