SHGC vs Energy Star rating

Can you tell me the difference between an SHGC rating and an Energy Star rating. Can these be the same for a window in a residential home? If a window is Energy Star rated, but the SHGC glaze is not, what does that do to the window and what does that mean as far of numbers dealing with Energy Star?