Yes, cybersecurity is a a subset of computer science and it has a separate field of study which professionals’ study to be a professional in the domain.
If you are aiming to be an expert in cybersecurity, then I would recommend you to join the cybersecurity course from Intellipaat.
And also, I would suggest you watch our video on what is cybersecurity?