M dwarfs, also known as red dwarfs, are the smallest and coolest type of main-sequence stars in the universe, characterized by their spectral class M. These stars are less than half the mass of the Sun and have surface temperatures ranging from about 2,400 K to 3,700 K. Their low temperatures and luminosities play a crucial role in stellar structure and energy transport, affecting how they generate energy through nuclear fusion in their cores.