While lexical cohesion is obviously achieved by the selection of vocabulary, the other types of cohesion are considered as grammatical cohesion.
(linguistics) the grammatical and lexical linking within a text or sentence that holds a text together and gives it meaning.