Another way to say "a horse is used for riding" is "Something you can use for riding is a horse."