The usage of key words play key role in ranking of a site on Google. Search engine optimization occurs while writing content or before publishing. Providing useful links is one of the off-page factors.
Sometimes, internal linking of other sites that owned by the same person will also help in gaining improved rankings.