RHEL vs CentOS

Red Hat

Red hat is a subscription based Enterprise Linux OS and is widely recognized secure operating system.

It offers 24/7 support and vendor escalation should any issues arise. According to the Red Hat website, 98% of critical vulnerabilities had fixes within 1 calendar day:
https://www.redhat.com/en/about/trusted
I would highly recommend reading more through the red hat website.

CentOS

CentOS is a community version of Red Hat operating system. The libraries and binaries are the same and the OS interacts very much the same way however CentOS requires Red Hat to release versions, updates and fixes. Once they are released, they are repackages and released through this OS. There is no vendor escalation although bugs can still be logged, there is no legal obligation to fix these issues. This OS is not subscription based and is a free-to-use OS.