great question!
energy is never lost, but it can be converted or transferred.
for instance, when a book is slid across carpet, it slows down because its kinetic energy from motion is converted into heat energy from the friction between the carpet and book.
energy can be converted into sound, light, thermal, or even potential energy!