Identify if the given sentence is using the active or passive voice.
The professor was teaching the class.
The given sentence is using the active voice.
Complete the following task based on the instruction and optional input provided.### Instruction:
Identify if the given sentence is using the active or passive voice.

### Input:
The professor was teaching the class.

### Output:
The given sentence is using the active voice.