Microphone vs Line-in

A normal soundcard normally has both a microphone and a line-in input ports. What’s the difference between the two?