The above patterns are used to refer to the existence/presence of objects, people, or animals. あります indicates the existence of inanimate things(i.e., something which does not move), and います indicates the presence of things that are animate(i.e., people and animals).
りんごが あります。
There are apples.
とりが います。
There is a bird.