The Lebesgue curve is a type of space-filling curve that maps a one-dimensional interval onto a two-dimensional square, demonstrating how a continuous curve can completely fill a space. It is used in various fields such as computer science and mathematics to optimize data locality and to understand dimensional mappings.