Friction is essential for many everyday activities, such as walking and driving, where it prevents slipping and enables controlled motion. However, in mechanical systems, friction can lead to energy loss and wear, which is why it is often undesirable in those contexts.