Prepositions show the relationship between a noun or pronoun and other words in a sentence.
Here are some examples of how "against" is used as a preposition:
* The ball hit against the wall.
* She argued against the proposal.
* The team played against their rivals.