The Chaos Space Marines have the same origins as the Space Marines.
Chaos Marines are equipped with the power armour and weapons they had when they initially betrayed the Imperium, which are broadly the same as those used by Space Marines (although some differences now exist).