These are expenses that must be paid when a loan is closed, title transferred, and loan money given out. They include things such as an origination fee, appraisal fee, credit report, attorney fee, title insurance, recording fee, survey, termite inspection, etc. Every lender must give you an estimate of the closing costs within a few days after receiving your application. When you close on your loan, you will have to prepay some expenses for your home that will occur in the next year. Taxes and insurance are examples.
Interest is another.
You may have to prepay interest on your loan from the day the loan closes until the end of the month. That's called accrued per diem interest. This can be very important, especially if you need to close on a house quickly. Processing and approval times are different for different lenders. Be sure to ask how much time to allow.