Motherboard / CPU compatibility?

Motherboard - GA-Z97M-DS3H

CPU - Intel Core i5-8400


Are these two compatible? I have the motherboard and need a cpu upgrade so I can play fortnite. Will these work together?
8 answers 8