There is a curve goes through (-5,2), (-1,0), and (3,2). The point at (-5,2) and (3,2) are respectively solid and hollow. Write the domain and range of the function using interval notation.

Please directly answer the question and provide the final value, e.g., 1, 2.5, 300.
Question: There is a curve goes through (-5,2), (-1,0), and (3,2). The point at (-5,2) and (3,2) are respectively solid and hollow. Write the domain and range of the function using interval notation.

Please first conduct reasoning, and then answer the question and provide the final value, e.g., 1, 2.5, 300, at the end.
Question: There is a curve goes through (-5,2), (-1,0), and (3,2). The point at (-5,2) and (3,2) are respectively solid and hollow. Write the domain and range of the function using interval notation.
