The National Science Foundation funds a lot of the general science research in the US, much of which takes place at the US’ educational institutions, like universities and medical schools. Other federal grants come from organizations like NASA, NOAA, and the National Institutes of Health.
Source: http://arstechnica.com/science/2015/11/federal-funding-drop-sending-universities-scrambling-to-pay-for-research/