https://www.nsf.gov/crssprgm/reu/reu_search.jsp
To get into a good PhD program, most students have at least one summer doing reserach as an undergraduate. It is main program to screen out candidates for PhD. NSF is only part of this REU.
Some 1st year graduate students have their funding already. My kid lost in this grant application.