Your body clears a fixed fraction of a drug every hour, so the amount halves on a regular schedule. Logarithms tell you how long until it drops below a level.