The cells which create the myelin sheath around an axon are

called oligodendrocytes in the central nervous system and Schwann cells in the peripheral nervous system.