Your sentence
Il+y+a+un+chat+dans+le+jardin.
Words in this sentence
il
he (third-person singular masculine subject pronoun for human subject); it (third-person singular subject pronoun for grammatically masculine objects); Impersonal subject; it
Pronoun
y
there (at a place); there, thither (to there); Used as a pronoun to replace an adverbial phrase starting with à.; With verbs: see Appendix:French verbs followed by à for verbs which use this structure.; With adjectives. Only used with a handful of adjectives (the most common combination being y compris, which is a special case), mainly in legal terminology.
Pronoun
avoir
to have; to own; to possess; to get; to have (to experience or suffer from a state or condition); to have (an age); used to form the compound tenses of most verbs, such as the perfect and pluperfect.; to have (to), must; (chiefly in se faire avoir) to have (to trick; to con)
Verb
dans
in, inside (enclosed in a physical space, a group, a state); to (indicates direction towards certain large subdivisions, see usage notes); in, within (a longer period of time); during; out of, from; in; in the works of; Used in dans les (“about, around”)
Preposition