We start with a Redis hash named user:1 with fields name, age, and city set to Alice, 30, and NY respectively. The HKEYS command retrieves all the field names as a list: name, age, city. The HVALS command retrieves all the field values as a list: Alice, 30, NY. The order of keys and values matches, so you can pair them by position. These commands help you get just the keys or just the values from a hash. To get both keys and values together, you would use HGETALL. This trace shows how the hash changes and what each command returns step by step.