Both are important in different situations. Here is a nice little overview when to use which in order to keep the history clean :) Also, I found this article quite useful to understand other aspects of rebasing.
All git commands are useful tools. As always, it's just about how you use them!