Unless a dom is purely a sadist, it is also about giving a sub/slave what they want and need. Pain is a tool.