First we need to explain the meaning of antagonistic:
antagonistic muscle - a muscle that opposes the action of another; the quadriceps and hamstrings are antagonistic muscles.
Antagonistic muscles work by:
while one is relaxing the other is contracting so like a push and pull movement. When the main muscle contracts the antagonist muscle relaxes.