There is a piecewise function going through points (-3, 0), (0, 5), and (3, 5). 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 piecewise function going through points (-3, 0), (0, 5), and (3, 5). 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 piecewise function going through points (-3, 0), (0, 5), and (3, 5). Write the domain and range of the function using interval notation.
