What does half-life mean with respect to medication?

The half life refers to how long a dose of the medication affects the body. Some drugs stay effective for weeks, while others are measured in hours.