Here's why:
* Action: The word "walking" describes an action - the act of moving on foot.
* Subject: While there isn't an explicitly stated subject in this sentence, it's implied that someone is performing the action of "walking". The sentence could be expanded to "He/She was walking into the room."
Let me know if you have any other words you'd like to identify!