Friction is a force that opposes the motion of objects when they come into contact, categorized into static, sliding, and rolling types. It affects motion by slowing down moving objects and can be influenced by surface properties and the force pressing the surfaces together. While it can be harmful by generating heat in machines, friction is also essential for everyday activities like walking and writing, and can be reduced through lubricants and design modifications.