Hello 蔓蔓攸忧
The symbol ' is being used to show where the stress in the word comes when you say it. Each of these words has 2 syllables and one is usually stronger than the other. Here with the capitalisation it is showing that the first syllable has more stress. (In many dictionaries you see the ' before the stressed syllable.)
Best wishes
Bob