Use of whose is sentences

Why we use this for the Cat like “whose cat is this” and that for the child like " whose child is that"