Studying the first galaxies involves a combination of observational and theoretical approaches. Observationally, astronomers use powerful telescopes to look back in time by observing distant objects. The light from these objects has taken billions of years to reach us, giving us a glimpse into the past. Theoretically, scientists use computer simulations to model the processes involved in galaxy formation. These simulations help us understand the complex interplay between dark matter, gas dynamics, and star formation.