Does direct object answers what or whom?

A direct object does answer what or whom.