A grid-tied solar system generates electricity from sunlight while connected to the local utility power grid, allowing excess energy produced to be fed back into the grid or drawn from it when needed.