An 8-bit unit used to code data is called
D
Correct answer
Explanation
A byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and it remains the basic addressable element in most computer architectures.