Companies House and HMRC are two separate government agencies but they are linked for company filing purposes. If you register a LTD Company at Companies House you can also register with HMRC at the same time. When you file company accounts at HMRC you can also file them at Companies House at the same time.
Company formation basics