What sport is played during two periods of 45 minutes each and involves a system of fouls using red yellow cards?

It is the sport of Association football (soccer).