Packet switching is a method of transmitting data in small, discrete units called packets. It is crucial for the internet as it allows efficient and reliable transmission of information across networks.