Under tale is a role-playing puzzle-adventure game, that can be compared to Earthbound, Cave Story, and Touhou.
Combat

There is no real combat in Undertale, though you do encounter enemies in the "dangerous" underground world. Like the humor in present in the rest of the game, the player does not attack the enemy with standard turn-based role-playing spells and items. Instead, the player defeates enemies by making friends through actions such as "Flirt" and "Cheer". You can time your attacks for extra "damage" and dodge enemy attacks in a style reminiscent of top-down shooters.
Leveling Up
The progression in Undertale is much more similar to other RPGs, with experienced gained to level-up and learn new skills as you progress through the story.