The question asks whether machines can have subjective experience, meaning something it is like to be them, as opposed to just processing information and producing intelligent behavior. Scientists and philosophers do not agree on the answer, partly because no one has a settled theory of what consciousness is or how to detect it in anything other than oneself.
Current AI systems, such as large language models, can produce fluent claims about feelings, but that output alone does not show anything is experienced. Researchers try to test for it by checking whether systems meet criteria drawn from theories of consciousness, such as global workspace or recurrent processing theories.