Compaq and HP are not the same company, but they are closely related. Compaq was originally an independent company specializing in personal computers and laptops. It gained prominence in the 1980s and 1990s for its innovative products. In 2002, HP, also known as Hewlett-Packard, acquired Compaq, which resulted in Compaq becoming a brand under HP's umbrella.
As a result of this acquisition, HP has integrated Compaq's technology and product lines into its own offerings. Many users still identify Compaq with HP products, especially in the realm of consumer computing. However, Compaq operates as a brand within the larger HP entity. For the most current details about both companies, including their product offerings and brand statuses, it may be helpful to check the official HP website.