CSMA/CD vs CSMA/CA

Carrier Sense Multiple Access/Collision Detect (CSMA/CD):

CSMA is an improvement over ALOHA as it restricts to transmit when the channel is busy. But if two stations sense the channel simultaneously and feel it idle then both of them transmit frames resulting in a collision. A further improvement over CSMA is Carrier Sense Multiple Access with Collision Detect (CSMA/CD) in which is used to detected transmission is aborted by both the stations.

Contention Period

Carrier-Sense Multiple Access/Collision Avoidance (CSMA/CA):

Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) is a network protocol for carrier transmission that operates in the MAC layer. In contrast to CSMA/CD that deals with collisions after their occurrence. It prevents collisions prior to their occurrence.