Formative assessment is done as students are learning. Summative assessment is at the end (like a test).
Good teachers in every subject will adjust their teaching based upon what students know at each point. Good formative assessment removes the embarrassment of public hand raising and gives teachers feedback that impacts how they're teaching at that moment. Instant feedback.