Check rails are placed at curves (and also at points) while guard rails are at places like bridges as an extra rail to protect train from de-railing. Actually guard rails comes with pair of extra rails.
Note the space between track rail and the check rail and between track rail and guard rail. (In guard rail’s scenario it’s wider. that’s because of these are for catch the train if the train derails while check rails are for prevent derailing)